home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / lwmlist / 94.lightwave-10 / 000255_owner-lightwave-l _Sun Oct 16 13:27:57 1994.msg < prev    next >
Internet Message Format  |  1994-11-05  |  2KB

  1. Return-Path: <owner-lightwave-l>
  2. Received: by mail.netcom.com (8.6.9/Netcom)
  3.     id KAA07032; Sun, 16 Oct 1994 10:56:40 -0700
  4. Received: from gaspra.pd.com by mail.netcom.com (8.6.9/Netcom)
  5.     id KAA07024; Sun, 16 Oct 1994 10:56:31 -0700
  6. Received: by gaspra.pd.com (4.1/1.37)
  7.     id AA17455; Sun, 16 Oct 94 10:59:13 MST
  8. Date: Sun, 16 Oct 1994 10:59:12 -0700 (MST)
  9. From: Ernie Wright <ernie@gaspra.pd.com>
  10. Subject: LightWave Wish List
  11. To: lightwave-l@netcom.com
  12. Message-Id: <Pine.3.89.9410161034.C17419-0100000@gaspra.pd.com>
  13. Mime-Version: 1.0
  14. Content-Type: TEXT/PLAIN; charset=US-ASCII
  15. Sender: owner-lightwave-l@netcom.com
  16. Precedence: bulk
  17. Reply-To: lightwave-l@netcom.com
  18.  
  19. Jim McCabe (mccabejc@sce.com) wrote:
  20.  
  21. >  I know absolutely nothing about the algorithms Steve Worley uses to
  22. >  generate his textures, but it surprises me at how long it takes to
  23. >  generate, for example, a 752x480 IFF image ... Does anybody have
  24. >  some insights on what's involved that takes so long ?
  25.  
  26. Well, I haven't seen the source code, but that's never stopped me
  27. before.
  28.  
  29. See the papers by Perlin and Peachey in the 1985 SIGGRAPH Proceedings
  30. (Computer Graphics 19(3), 279-296).  A solid texture is basically a
  31. function of three variables f(x, y, z), where (x, y, z) is a point on
  32. the surface of an object.  How long it takes to render a solid texture
  33. depends on (1) the number of points at which the function must be
  34. evaluated and (2) the complexity of the function.
  35.  
  36. (1) generally varies with the number of pixels containing textured
  37. surface, while (2) has a lot to do with the number of times a trig
  38. function or square root have to be evaluated, since these can take
  39. about 10 times longer than an add or multiply.
  40.  
  41. A simple concentric cylinder model for wood grain requires calls to
  42. square root, arctangent and sine functions, along with some ordinary
  43. arithmetic, for each pixel in the image involving the textured object.
  44. Marble can be made from the same model by adding noise to perturb the
  45. grain.  In general, textures are built up from various combinations of
  46. simple shapes, sine waves and noise, and some combinations take longer
  47. than others.
  48.  
  49. - Ernie